package com.j4dream.property.javabasic.io;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
public class TransientAndSerializable implements Serializable {
    private String name;
    private int age;
    private transient String password;

    public TransientAndSerializable(String name, int age, String password) {
        this.name = name;
        this.age = age;
        this.password = password;
    }
}
